package com.by.mapper;

import com.by.common.dao.MyBaseMapper;
import com.by.entity.Sku;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SkuMapper extends MyBaseMapper<Sku> {
    int  saveSku(Sku sku);

    //根据商品id查询sku
    List<Sku> selectSkuList(@Param("spuId") int spuId);

}
